package io.lckgroup.modules.lck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lckgroup.common.utils.PageUtils;
import io.lckgroup.modules.lck.entity.OrderMainEntity;
import io.lckgroup.modules.lck.entity.appvo.OrderMainEntityVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 订单主表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:39
 */
public interface OrderMainService extends IService<OrderMainEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByEntity(Map<String, Object> params, OrderMainEntity orderMainEntity);

    Map<String, Object> getStaticCountData(Map<String, Object> params);

    Map<String, Object> getDynamicCountData(Map<String, Object> p);

    OrderMainEntityVo getMsgDefineById(String id);

    int cancelOrderTask();

    Long[] selectOrderNumByMonth(@RequestParam Map<String, Object> params);
}
